babl: move to/from xyz and rgbtoxyz matrix functions out of babl.h
authorØyvind Kolås <pippin@gimp.org>
Tue, 3 Oct 2017 14:41:26 +0000 (16:41 +0200)
committerØyvind Kolås <pippin@gimp.org>
Tue, 3 Oct 2017 14:41:29 +0000 (16:41 +0200)
commit286958ef98d33ad7ff7ea6b6f5b5ed8f7043dfba
treeeeeda016c1820a34f976b74c5ed22ed03c7fdeda
parent1ad47571209012d3ae7869f85bc7d4f0ebebf9d5
babl: move to/from xyz and rgbtoxyz matrix functions out of babl.h

Both of these are useful, but we might want a wider range, permitting
both linear and non-linear variants to be converted to both XYZ and LAB.

The matrix is for now used in babl for the RGB->Y conversion - this might
warrant a more direct API.
babl/babl-internal.h
babl/babl.h
extensions/CIE.c
extensions/float.c
extensions/grey.c